package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Question;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface IQuestionService {
    void save(Question question);

    PageInfo<Question> listAll(QueryObject qo);

    Question getById(Long questionId);

    void updateAnswerCount(int answerCount, Long id);
}
